import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import 'cesium/Build/Cesium/Widgets/widgets.css'
import ElementPlus from 'element-plus'
import '@/style'
import 'element-plus/dist/index.css'

import resolveStore from './permisson'


const app = createApp(App)
app.config.globalProperties.message = "hello message"
app.use(router).use(createPinia()).use(ElementPlus).mount('#app')

Promise.resolve(app).then(res => {
  resolveStore()
})
